package com.jhs.kjs.service.impl;

import java.util.List;
import java.util.Map;

import com.jhs.kjs.dto.AdminPointPagingDTO;
import com.jhs.kjs.service.IAdminPointService;
import com.jhs.kjs.service.dao.IAdminPointMapper;

public class AdminPointServiceImpl implements IAdminPointService{
	private IAdminPointMapper mapper;
	
	public void setMapper(IAdminPointMapper mapper) {
		this.mapper = mapper;
	}
	
	public List<AdminPointPagingDTO> getAdminPointList(AdminPointPagingDTO param) {
		return mapper.getAdminPointList(param);
	}

	public AdminPointPagingDTO getAdminPointCount(AdminPointPagingDTO param){
		return mapper.getAdminPointCount(param);
	}

	public List<AdminPointPagingDTO> getAdminUsePointList(AdminPointPagingDTO param) {
		return mapper.getAdminUsePointList(param);
	}
	
	public AdminPointPagingDTO getAdminUsePointCount(AdminPointPagingDTO param) {
		return mapper.getAdminUsePointCount(param);
	}
	
	public void insertUsePoint(AdminPointPagingDTO param) {
		mapper.insertUsePoint(param);		
	}
	
	public String getUsePointCheck(Map<String, String> param) {
		return mapper.getUsePointCheck(param);
	}
}
